package com.gedeshidai.shumadevelop.model.enums;

/**
 * 商品上线状态枚举
 */
public enum ProductOnlineStateEnum {
    NO_ONLINE(1, "未上线"),
    OFFLINE(2, "已下线"),
    ONLINE(3,"已上线");

    /**
     * 状态码
     */
    private final int code;

    /**
     * 信息
     */
    private final String message;

    ProductOnlineStateEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
